package com.gan.simple_init.common.filter;

import org.springframework.stereotype.Component;


@Component
public class PermitUrlProperties {


    /**
     * 教育url白名单处理
     */
    private static final String[] EDU_ENDPOINTS = {
            "/user/register",
            "/user/login",
            "/user/logout",
            "/user/verificationCode/**",
            "/user/refresh_token",
            "/swagger-ui.html",
            "/webjars/**",
            "/swagger-resources/**",
            "/v3/**",
            "/v2/**",
            "/doc.html",
            "/logout",
    };

    public String[] getPermits() {

        return EDU_ENDPOINTS;

    }

}
